package health_system.health_system.entity;

import jakarta.persistence.*;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
@Table(name = "privacy_settings")
public class PrivacySettings extends BaseEntity {

    @OneToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "friendship_id")
    private Friendship friendship;
    
    @Column(nullable = false)
    private boolean moments = true;
    
    @Column(nullable = false)
    private boolean location = true;
    
    @Column(nullable = false)
    private boolean profileInfo = true;
    
    @Column(nullable = false)
    private boolean lastSeen = true;
    
    @Column(nullable = false)
    private boolean phone = false;
    
    @Column(nullable = false)
    private boolean email = false;
} 